﻿using Logistics.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Logistics.Contract
{
    /// <summary>
    /// 承运合同接口
    /// </summary>
    public interface ICarryContractRepository
    {
        Task<int> Delete(int Id);

        Task<int> Create(Carry ca);

        Task<Carry> GetCarryById(int Id);

        Task<List<Carry>> GetCarrys();

        Task<int> Update(Carry ca);
    }
}
